package com.example.bbs.service;

import com.example.bbs.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import jdk.nashorn.internal.codegen.ObjectClassGenerator;
import org.springframework.ui.Model;

import java.util.HashMap;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author jiaziyun
 * @since 2021-04-30
 */
public interface UserService extends IService<User> {
    boolean getUserInfo(String id, Model model);

    String updateBaseInfo(HashMap<String, String> parmap);

    int updateUserAvator(int id, String path);
}
